<extend name="Public:layout"/>
<block name="content">
    <div class="panel admin-panel">
        <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>编辑分类</strong></div>
        <div style="height:30px;"></div>
        <div class="container-fluid">
            <form method="post" class="form-x ajax-submit" action="{:U('edit')}">
                <input type="hidden" name="category_id" value="{$info.category_id}">
                <div class="form-group">
                    <div class="col-lg-1 col-md-1 text-center">分类名称</div>
                    <div class="col-lg-3 col-md-3">
                        <input type="text" class="form-control" value="{$info.category_name}" name="category_name" placeholder="请输入分类名称">
                    </div>
                </div>

                <!--<div class="form-group">
                    <div class="col-lg-1 col-md-1 text-center">状态</div>
                    <div class="col-lg-3 col-md-3">
                        <select name="status" class="form-control">
                            <option value="1">启用</option>
                            <option value="0" <?php if($info['status'] === '0') echo "selected"?>>禁用</option>
                        </select>
                    </div>
                </div>-->

                <div class="form-group">
                    <div class="label">
                        <label></label>
                    </div>
                    <div class="field">
                        <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</block>